<?php

use yii\helpers\Html;
use \kartik\detail\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\lenders\models\Lender */

$this->title = $model->lenderID;
$this->params['breadcrumbs'][] = ['label' => 'Lenders', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="lender-view">

    <p>
        <?= Html::a('Update', ['update', 'id' => $model->lenderID], ['class' => 'btn btn-primary']) ?>
        <?= Html::a('Delete', ['delete', 'id' => $model->lenderID], [
            'class' => 'btn btn-danger',
            'data' => [
                'confirm' => 'Are you sure you want to delete this item?',
                'method' => 'post',
            ],
        ]) ?>
    </p>

    <?= DetailView::widget([
        'model' => $model,
        'condensed'=>true,
        'mode'=>DetailView::MODE_VIEW,
        'hover'=>true,
        'attributes' => [
                ['columns' => [
                    [
                        'attribute'=>'lenderID',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'userName',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'IDType',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'custSeqNo',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'email',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                        'format' => 'email',
                    ],
                    [
                        'attribute'=>'phone',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'tel',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'billAddress',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'billPostCode',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'customerStatus',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'accountStatus',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'isDeleted',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'identityNo',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'gender',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'comments',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'createTime',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'createUser',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'updateTime',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'updateUser',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'lenderFrom',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'customerManagerID',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'customerManagerName',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'teamManagerID',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'teamManagerName',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'operateManagerID',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'operateManagerName',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'yunYingManagerName',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'yunYingManagerID',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'subCompanyManagerID',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'subCompanyManagerName',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'subCompanyTeamBuildID',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'subCompanyTeamBuildName',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'VPID',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'VPName',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'PartnerID',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'PartnerName',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'AreaID',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'AreaName',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'type',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'legalPerson',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'contactName',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'sex',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'certificateType',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'idNumber',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'number',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'address',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
        ],
    ]) ?>

</div>
